package com.interviewbar.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.interviewbar.system.entity.DeviceTestOne;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author FangGL
 */
@Mapper
public interface DeviceTestOneMapper extends BaseMapper<DeviceTestOne> {


    @Select("select * from x_device_test_one where id > #{startIdx} and id<= #{endIdx}")
    List<DeviceTestOne> getPageAllList(@Param("startIdx")long startIdx, @Param("endIdx")long endIdx);
}
